package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 发型师剩余休息时间
 *
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("d_break_remain")
public class BreakRemain extends Model<BreakRemain> {
    @ApiModelProperty("发型师")
    @TableId
    private Integer workerId;

    @ApiModelProperty("时长(小时)")
    private Integer hours;
}
